package com.joysuch.wwyt.workflow.bean;

import com.joysuch.wwyt.workflow.enums.TrajectoryCalTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
public class WorkFlowSignBean {

    @ApiModelProperty("轨迹类型枚举")
    private TrajectoryCalTypeEnum calculationTypeEnum;

    @ApiModelProperty("楼层Id")
    private Integer floorId;

    @NotEmpty(message = "区域经度不能为空")
    @ApiModelProperty("区域精度数组")
    private Double[] lonArr;

    @NotEmpty(message = "区域维度不能为空")
    @ApiModelProperty("区域维度数组")
    private Double[] latArr;

    @ApiModelProperty("定位点精度")
    private Double locationPointLon;

    @ApiModelProperty("定位点维度")
    private Double locationPointLat;

    @ApiModelProperty("半径")
    private double radius;

    @ApiModelProperty("用户Id")
    private Long userId;

    @ApiModelProperty("用户类型0：内部员工，1：承包商")
    private String userContractorFlag;

    @ApiModelProperty("任务编号")
    private String taskCode;

    @ApiModelProperty("组件列表")
    private List<SignComponentBean> componentList;

    @ApiModelProperty("节点名称")
    private String taskName;

    @ApiModelProperty("新版本的作业票")
    private boolean newWorkflow;

}
